<%--
    @Description：清洗次数
    @Author： 樊双峰
    @Date： 2018-12-24 10:08
--%>
<style type="text/css">
tr, th, td {
    text-align: center;
}
</style>
<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${SYS_QUERY_PATH}" method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="Excel"/>
            <label>客户名称：<strong><span class="text-danger"></span></strong>：</label>
            <g:textField name="customName" value="${customName}" size="17" placeholder="客户名称"/>&nbsp;
            <label>装置名称：<strong><span class="text-danger"></span></strong>：</label>
            <g:textField name="deviceName" value="${deviceName}" size="17" placeholder="装置名称"/>&nbsp;
            <label>部品名称：<strong><span class="text-danger"></span></strong>：</label>
            <g:textField name="partName" value="${partName}" size="17" placeholder="部品名称"/>&nbsp;
            <label>刻印号：<strong><span class="text-danger"></span></strong>：</label>
            <g:textField name="markNum" value="${markNum}" size="17" placeholder="刻印号"/>&nbsp;
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <button type="button" class="btn-blue"
                    onclick="javascript:bjuiExportExl('#pagerForm', '${request.getContextPath()}/Base/exportExcel')"
                    data-icon="file-excel-o" title="导出Excel">导出</button>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <g:if test="${report_011.size() > 0}">
        <table id="data" data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th width="50">NO.</th>
                <g:each in="${tableHeadList}" status="i" var="headInstance">
                    <g:if test="${headInstance != 'RN'}">
                        <th><g:message code="${headInstance}" default="${headInstance}"/></th>
                    </g:if>
                </g:each>
            </tr>
            </thead>
            <tbody>
            <g:each in="${report_011}" status="i" var="dataInstance">
                <tr>
                    <td>${i + 1}</td>
                    <g:each in="${tableHeadList}" status="j" var="headInstance">
                        <g:if test="${headInstance != 'RN'}">
                            <td>${dataInstance["${headInstance}"]}</td>
                        </g:if>
                    </g:each>
                </tr>
            </g:each>
            </tbody>
        </table>
    </g:if>
    <g:else>
        <g:render template="../template/emptyPanel"/>
    </g:else>
</div>
<g:render template="../template/pagination" />